package com.qf.admin.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.admin.entity.User;
import com.qf.admin.pojo.QueryUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IUserMapper extends BaseMapper<User> {

    //根据条件查询分页数据
    List<User> getPageDate(QueryUser queryUser);

    //禁用用户
    void disableUser(@Param("id") Integer id);

    //激活用户
    void activeUser(@Param("id") Integer id);
}
